home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Popular Request
/
By Popular Request (Arsenal Computer)(SysOptics Distribution System).ISO
/
amiga2
/
giflist.lha
/
GIFList.Doc
< prev
next >
Wrap
Text File
|
1993-11-05
|
3KB
|
95 lines
NAME
GIFList -- Show useful informations on GIF files (V37)
SYNOPSIS
GIFList DIR,ALL/S,LINKS/S,NOHEAD/S,COM=COMMENT/S
FUNCTION
GIFList shows you some useful informations on the GIF files it finds.
It also has an option to automagically add a filenote containing
those informations, making it easier to remember resolution and
colours of your images or to add those informations in BBS
descriptions.
INPUTS
DIR - Directory and/or pattern to look at.
Defaults to current directory.
ALL/S - Follow subdirectories.
LINKS/S - Follow also links to directories (requires ALL).
NOHEAD/S - Don't print header text.
COM=COMMENT/S - Add a comment (file note) to each file processed; the
format is:
"(123╫456 78c) Old filenote, if any"
^^^ ^^^ ^^^
| | colours (hence the "c")
| +- height
+----- width
RESULT
This is an example output from GIFList:
Header Width Height Col Length FileName
------ ------ ------ --- -------- ------------
GIF87a 274 403 256 36758 Filaments.GIF
GIF87a 320 200 256 18583 Supernova1989B.GIF
GIF87a 320 400 256 74752 Triton.GIF
------ ------ ------ --- -------- ------------
Total: 3 files - 130093 bytes
The fields are obvious enough, if you know what a GIF file is.
Should any problem arise, GIFList will print an error message, either
after the offending file or at the end of it's output if the problem
was big enough to interrupt it's work.
The possible return codes are:
- RETURN_OK ( 0): all ok;
- RETURN_WARN ( 5): generic error reading directory;
- RETURN_ERROR (10): wrong arguments;
- RETURN_FAIL (20): no libraries or memory.
NOTES
Please note that GIFList requires Kickstart 2.0 or above. Making it
compatible with older OS releases would have been too onerous, or
would require using external libraries such as ARP.
If you really need a 1.2/1.3 version and can't do it yourself (source
code is included), please contact the author, who will convince you
that 2.0 is too good to be missed. ;-)
BUGS
I hope and think none serious enough to damage your computer.
Of course, I wish to hear about the bugs you might find.
DISTRIBUTION
This program is freeware. You may redistribute it as long as:
- this text and the source code are included;
- you don't charge more than a nominal copying fee for distribution.
Please state your modifications to the code with a clear comment, and
send me your modified version. It would be a good idea to include
the original code, anyway.
Any contribution will be greatly appreciated (I'm a poor engineering
student, you know).
DISCLAIMER
The author does not assume any responsibility for damages which could
result by the use of this program. The entire risk for the use of
this program is assumed by the user.
AUTHOR
Flavio Stanchina
Loc. Montevaccino, 39
38040 Trento (Italia)
email: 2:333/408.9@fidonet.org